package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.dto.NursingProjectDto;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingProjectMapper {
    Page<NursingProject> queryBy(String name, Integer status) ;

    void add(NursingProject nursingProject);

    NursingProject selectByPrimaryKey(Long id);

    void upDate(NursingProject nursingProject);

    void delete(Long id);

    List<NursingProjectVo> getAll();

    void enableOrDisable(Long id, Integer status);
}

